﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Product_ProductType_Operate.aspx.cs" Inherits="web.manage.Product_ProductType_Operate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>邮件操作页面</title>
    <link href="css/css.css" rel="stylesheet" type="text/css"/>
<link href="css/control.css" rel="stylesheet" type="text/css"/>
<link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="js/Common.js"></script>
<script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
<script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>
<script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
</head>
<body>
    <form id="form1" runat="server">
     <div class="OperateTitle">
        <div>
            <asp:Label ID="lblAdd" runat="server" Text="【 商品类型添加 】"></asp:Label> 
            <asp:Label ID="lblEdit" runat="server" Text="【 商品类型编辑 】" Visible="false"></asp:Label> 
            <a href="Product_ProductType_Manage.aspx" title="返回商品类型列表">返回列表</a>
        </div>
    </div>
    <div>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
        
       <tr>
        <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
        <asp:Label ID="lblName" runat="server" Text="商品类型名称：" ></asp:Label> 
        </td>
        <td bgcolor="#FFFFFF" align="left" style="height: 30px">
        <asp:TextBox ID="txtName" runat="server" MaxLength="50" Width="300px"></asp:TextBox>  <span class="NeedMsg">*</span>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtName" runat="server" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
        </td>
        </tr>

       <tr>
        <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
        <asp:Label ID="lblOrderId" runat="server" Text="排序：" ></asp:Label> 
        </td>
        <td bgcolor="#FFFFFF" align="left" style="height: 30px">
        <asp:TextBox ID="txtOrderId" runat="server" TextMode="SingleLine" Width="100px"></asp:TextBox>  <span class="NeedMsg">*</span>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="txtOrderId" runat="server" ErrorMessage="不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOrderId"
                Display="Dynamic" ErrorMessage="只能为数字" ValidationExpression="\d*"></asp:RegularExpressionValidator></td>
        </tr>
        
        <tr>
        <td height="30" align="right" bgcolor="#FFFFFF" style="width: 20%"></td>
        <td bgcolor="#FFFFFF" align="left">
        <asp:Button ID="btnAdd" runat="server" Text="确定" OnClick="btnAdd_Click"  CssClass="button" />
        <asp:Button ID="btnEdit" runat="server" Text="更新" OnClick="btnEdit_Click" Visible="False"  CssClass="button"/>
        <input id="iptReset" runat="server" type="reset" value="重置" Class="button"/>
        <input id="Button1" runat="server" type="button" value="返回列表" onclick="window.location.href='Product_ProductType_Manage.aspx'" class="button"/>    
        </td>
        </tr>        
        </table>
        <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
        </script>
    </div>
    </form>
</body>
</html>